The difference or distance between two colors is a metric of interest in color science. It allows people to quantify a notion that would otherwise be described with adjectives, to the detriment of anyone whose work is color critical. Common definitions make use of the Euclidean distance in a device independent color space.
Contents |
The International Commission on Illumination (CIE) calls their distance metric ΔE*ab (also called ΔE*, dE*, dE, or “Delta E”) where delta is a Greek letter often used to denote difference, and E stands for Empfindung; German for "sensation". Use of this term can be traced back to the influential Hermann von Helmholtz and Ewald Hering.[1][2]
In theory, a ΔE of under 1.0 is supposed to be indistinguishable unless the samples are adjacent to one another.[3] However, perceptual non-uniformities in the underlying CIELAB color space prevent this and have led to the CIE's refining their definition over the years.[4] These non-uniformities are important because the human eye is more sensitive to certain colors than others. A good metric should take this into account in order for the notion of a "just noticeable difference" to have meaning. Otherwise, a certain ΔE that may be insignificant between two colors that the eye is insensitive to may be conspicuous in another part of the spectrum.[5]
Using and , two colors in L*a*b*:
corresponds to a JND (just noticeable difference).[6]
The 1976 definition was extended to address perceptual non-uniformities, while retaining the L*a*b* color space, by the introduction of application-specific weights derived from an automotive paint test's tolerance data.[7]
ΔE (1994) is defined in the L*C*h* color space with differences in lightness, chroma and hue calculated from L*a*b* coordinates. Given a reference color[8] and another color , the difference is:[9][10][11]
where:
and where the weighting factors K depend on the application:
graphic arts | textiles | |
---|---|---|
1 | 2 | |
0.045 | 0.048 | |
0.015 | 0.014 |
Since the 1994 definition did not adequately resolve the perceptual uniformity issue, the CIE refined their definition, adding five corrections:[12][13]
In 1984, the Colour Measurement Committee of the Society of Dyers and Colourists defined a difference measure, also based on the L*C*h color model. Named after the developing committee, their metric is called CMC l:c. The quasimetric has two parameters: lightness (l) and chroma (c), allowing the users to weight the difference based on the ratio of l:c that is deemed appropriate for the application. Commonly-used values are 2:1[15] for acceptability and 1:1 for the threshold of imperceptibility.
The distance of a color to a reference is:[16]
CMC l:c is designed to be used with D65 and the CIE Supplementary Observer.[17]
Tolerancing concerns the question "What is a set of colors that are imperceptibly/acceptably close to a given reference?" If the distance measure is perceptually uniform, then the answer is simply "the set of points whose distance to the reference is less than the just-noticeable-difference (JND) threshold." This requires a perceptually uniform metric in order for the threshold to be constant throughout the gamut (range of colors). Otherwise, the threshold will be a function of the reference color—useless as an objective, practical guide.
In the CIE 1931 color space, for example, the tolerance contours are defined by the MacAdam ellipse, which holds L* (lightness) fixed. As can be observed on the diagram on the right, the ellipses denoting the tolerance contours vary in size. It is partly due to this non-uniformity that lead to the creation of CIELUV and CIELAB.
More generally, if the lightness is allowed to vary, then we find the tolerance set to be ellipsoidal. Increasing the weighting factor in the aforementioned distance expressions has the effect of increasing the size of the ellipsoid along the respective axis.[18]